/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ex3_4_35;

/**
 *
 * @author JV-SL1001
 */
public class Test {
    public boolean isSubString(String x,String y){

        int check = 0;
        for(int i=0; i <= x.length()-y.length(); i++ )
        {
            for(int j=0; j < y.length(); j++ )
            {
                if(x.charAt(i+j) == y.charAt(j))
                    check = 1;
                else
                    check = 0;
            }
            if(check == 1)return true;
        }




    return false;
    }

}
